package com.datree.cache_server;

import com.datree.cache_server.common.utils.StringUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;


// 表示通过aop框架暴露该代理对象,AopContext能够访问
@EnableAspectJAutoProxy(exposeProxy = true)
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class LocalCacheServerApplication {

    public static void main(String[] args) {
        System.out.println(java.nio.charset.Charset.defaultCharset());
        SpringApplication.run(LocalCacheServerApplication.class, args);
        System.out.println("*******************启动成功***********************\n");
    }

}
